$(function () {
  
    $(this).find('div.form-group').each(function () {
        if ($(this).find('span.field-validation-error').length > 0) {
            $(this).addClass('has-error');
            $(this).find('span.field-validation-error').addClass('has-error');
        }
    });

    if ($('#datatable-column-interactive').length > 0) {
        $('#datatable-column-interactive').dataTable({
            "bJQueryUI": false,
            "bPaginate": false,
            "bInfo": false,
            "aaSorting": [[0, 'asc'], [1, 'asc'], [2, 'asc']],
            sDom: "RC" +
				"t" +
				"<'row'<'col-sm-6'i><'col-sm-6'p>>",
            colVis: {
                buttonText: dataTableStrings.ShowHide,
                restore: dataTableStrings.Restore,
                showAll: dataTableStrings.ShowAll
            }
        });
    }


    var dtp = $('.datepicker').datepicker({
        language: "tr",
        todayBtn: "linked"
    }).on('changeDate', function () {
        dtp.datepicker('hide');
    });
    

    ConfirmDeleteRow();
    
    


});